{template header}

<style type="text/css">
td{font-size: 12px;}
</style>
    <h4 style="padding-left:10px;;">
        <span>跑步装备节</span>
    </h4>

    <form class="form-horizontal" method="post" action="index.php?c=admin&a=EquipmentJoin">
    <div class="control-group search-group" style="margin:0;">
        <label class="control-label" >用户ID：</label>
        <div class="controls">
          <input type="text" placeholder="用户ID" name="uid" value="{$search['uid']}">
        </div>
    </div>

    <div class="control-group search-group" style="margin:0;">
        <div class="controls">
            <input type="hidden" value="search" name="s">
            <button class="btn" type="submit">搜索</button>
        </div>
    </div>
</form>

<div class="bs-docs-example table-align pt-15" style="clear:both;">
    <table class="table table-striped">
        <thead>
            <tr>
                <th>用户ID</th>
                <th>昵称</th>
                <th>注册时间</th>
                <th>参与时间</th>
                <th>集字情况</th>
                <th>分享次数</th>
                <th>中奖情况</th>
            </tr>
        </thead>
        <tbody>
            {if !$list}  
                <tr>
                    <td colspan="7">暂无记录</td>
                </tr>
            {else}

            {loop $list $k $v}
            <tr>
                <td>{$v['uid']}</td>
                <td>{$v['nickname']}</td>
                <td>{$v['addtime']}</td>
                <td>{$v['add_time']}</td>
                <td>{$v['hasWords']}</td>
                <td>{$v['share_count']}</td>
                <td>{$v['isWinning']}</td>
            </tr>
            {/loop}

            {/if}
        </tbody>
    </table>
    <div class="pagination">
        <ul>
            {$pageStr}
        </ul>
    </div>
</div>

{template footer}
<script>
    /*$("#inshow").click(function(){
        $("#distribution").show();
        $("#distribution").fadeIn(300);
        var popMargTop = $("#distribution").height() / 2;
        var popMargLeft = $("#distribution").width() / 2;
    });
    $("#inhide").click(function(){
        $("#distribution").hide();
    });*/
</script>
